package com.yang.common.feign;

import com.yang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("coupon")
public interface CouponFeignService {
    @GetMapping("/coupon/coupon/list")
    R list(Map<String, Object> params);
}
